// import { createRouter, createWebHistory } from 'vue-router'
import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
  // history: createWebHistory(import.meta.env.BASE_URL),
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      // name: 'home',
      // component: HomeView
      redirect: '/armyScreenIndex'
    },
    {
      name: 'armyScreenIndex',
      path: '/armyScreenIndex',
      // component: 'screen/screenIndex',
      component: () => import('@/views/armyScreen/armyScreenIndex.vue')
    }
  ]
})

export default router
